<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>

<form action="goods" method="post">
<input type="hidden" name="action" value="update">
                          编号：<input type="text" value="${goods.getGid()}" name="gid" readonly="readonly"/><br>
			商品名称：<input type="text" value="${goods.getGname()}" name="gname" /><br>
			生产日期：<input type="date" value="${goods.getPub()}" name="pubdate" /><br>
			图片：<input type="text" value="${goods.getPic()}" name="pic" /><br>
			单价：<input type="text" value="${goods.getPrice()}" name="price" /><br>
		        评分：<input type="text" value="${goods.getStar()}" name="star" /><br>
			备注：<input type="text" value="${goods.getInfo()}" name="info" /><br>
			类别：<input type="text" value="${goods.getTypeid()}" name="typeid" /><br>
			<input type="submit" value="确认修改" />
</form>
</body>
</html>